<st #st [columns]="stColumns" [scroll]="{ y: '100%' }" [data]="tableData" [res]="TABLE_PARAMETER.res"
  [total]="TABLE_PARAMETER.page.total" [size]="TABLE_PARAMETER.size" [pi]="TABLE_PARAMETER.pi" [ps]="TABLE_PARAMETER.ps"
  [page]="TABLE_PARAMETER.page" [loading]="loading" (change)="change($event)">
  <ng-template st-row="number" let-row let-index="index">
    {{ ((st.pi ? st.pi : 1) - 1) * (st.ps ? st.ps : 0) + (index + 1) }}
  </ng-template>
  <ng-template st-row="operations" let-i let-index="index">
    <a [acl]="'SCHOOL_UPDATE'" (click)="update(i)">编辑</a>
    <nz-divider nzType="vertical"></nz-divider>

    <a nz-dropdown [nzDropdownMenu]="menu">
      其他
      <i nz-icon nzType="down"></i>
    </a>
    <nz-dropdown-menu #menu="nzDropdownMenu">
      <ul nz-menu nzSelectable>

        <li [acl]="'SCHOOL_UPDATE'" nz-menu-item>
          <button nzType="link" nz-popconfirm nzPopconfirmTitle="确定删除吗?" (nzOnConfirm)="delete(i)"
            nzPopconfirmPlacement="topLeft" nz-button>
            删除
          </button>
        </li>
      </ul>
    </nz-dropdown-menu>
  </ng-template>
</st>

<app-major-detail #majorDetailComponent (notification)="notify($event)"></app-major-detail>

<!-- <app-school-user #schoolUser></app-school-user> -->
